﻿@*
    TicketDesk - Attribution notice
    Contributor(s):

         Stephen Redd (stephen@reddnet.net, http://www.reddnet.net)

    This file is distributed under the terms of the Microsoft Public
    License (Ms-PL). See http://opensource.org/licenses/MS-PL
    for the complete terms of use.

    For any distribution that contains code from this file, this notice of
    attribution must remain intact, and a copy of the license must be
    provided to the recipient.
*@

@using TicketDesk.Domain.Model
@model  Ticket
 <div class="form-group form-group-sm">
    @Html.LabelFor(model => model.AssignedTo, new { @class = "col-sm-2 control-label" })
    <div class="col-sm-9">
        @Html.DropDownListFor(model => model.AssignedTo, Model.GetAssignedToList(false, true, false), new { @class = "form-control input-sm", tabindex = 1 })
        @Html.ValidationMessageFor(model => model.AssignedTo, "", new { @class = "text-danger" })
    </div>
</div>
<div class="form-group form-group-sm">
    @Html.LabelFor(model => model.Priority, new { @class = "col-sm-2  control-label" })
    <div class="col-sm-9">
        @Html.DropDownListFor(model => model.Priority, Model.GetPriorityList(), new { @class = "form-control input-sm", tabindex = 2 })
        @Html.ValidationMessageFor(model => model.Priority, "", new { @class = "text-danger" })
    </div>
</div>
